home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.4 Applications 1997 August / SGI IRIX 6.4 Applications 1997 August.iso / dist / mmailp.idb / usr / etc / mailcap.z / mailcap
Encoding:
Text File  |  1997-01-22  |  13.0 KB  |  260 lines

  1. # Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
  2. # Permission to use, copy, modify, and distribute this material 
  3. # for any purpose and without fee is hereby granted, provided 
  4. # that the above copyright notice and this permission notice 
  5. # appear in all copies, and that the name of Bellcore not be 
  6. # used in advertising or publicity pertaining to this 
  7. # material without the specific, prior written permission 
  8. # of an authorized representative of Bellcore.  BELLCORE 
  9. # MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
  10. # OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
  11. # WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
  12. #
  13. # Mailcap file for MediaMail
  14. #
  15. # Note that users may override or extend this with a .mailcap
  16. # file in their own directory.  However, there is NO NEED
  17. # for them to copy entries from this file, as metamail will
  18. # pick up entries from both the system and personal mailcap files.
  19.  
  20. message/partial; showpartial %s %{id} %{number} %{total}
  21. message/external-body; showexternal %s %{access-type} %{name} %{site} %{directory} %{mode} %{server}; \
  22.     needsterminal; composetyped = extcompose %s; \
  23.     description="A reference to data stored in an external location"
  24.  
  25. # You can alter the above entry to only use certain access-types by
  26. # adding a clause like the following before the "description=" line:
  27. #    test=test %{access-type}  = mail-server;  \
  28.  
  29. # The following give rudimentary capabilities to read old andrew format
  30. # even to non-Andrew sites, since "ezview" comes with metamail.
  31. x-be2;    ezview %s ; copiousoutput
  32. application/andrew-inset;    ezview %s ; copiousoutput; edit=ez -d %s; compose="ez -d %s"; description="An Andrew inset/document"
  33.  
  34. # The following gives rudimentary capability for receiving
  35. # text mail in the ISO-8859-1 character set, which covers many European
  36. # languages, and the ISO-8859-8 character set, which includes Hebrew
  37. # Note that the pipe to tr ensures that the "ISO" is case-insensitive.
  38. text/richtext; shownonascii iso-8859-8 -e richtext -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-8; copiousoutput
  39. text/richtext; shownonascii iso-8859-1 -e richtext -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-1; copiousoutput
  40. text/plain; shownonascii iso-8859-8 %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-8; copiousoutput
  41. text/plain; shownonascii iso-8859-1 %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-8859-1; copiousoutput
  42. text/enriched; shownonascii iso-8859-8 -e richtext -e -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-8; copiousoutput
  43. text/enriched; shownonascii iso-8859-1 -e richtext -e -p %s; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`"  = iso-8859-1; copiousoutput
  44.  
  45. # The following displays Japanese text at sites where the "kterm" program is installed:
  46. text/plain; kterm -geometry +0+0  -e more %s /dev/null; test=test "`echo %{charset} | tr '[A-Z]' '[a-z]'`" = iso-2022-jp
  47.  
  48. text/richtext; richtext %s; copiousoutput
  49. # If you have Andrew at your site, you MIGHT prefer to replace the
  50. # above line with the following one, but probably won't because
  51. # ez takes so long to start up.
  52. # text/richtext; richtoatk < %s | ezview - ; copiousoutput
  53. text/enriched; richtext -e %s; copiousoutput
  54.  
  55. # The following is used for distributing metamail patches
  56. # It should probably be used only by those administering metamail at a site.
  57. # You will need to replace "source-tree-root" with the real root of your
  58. # actual metamail source tree.
  59. # You can also modify this line to get metamail patches from some trusted
  60. # server other than thumper, if there is one -- man patch-metamail" for help.
  61. application/x-metamail-patch; cat %s > /dev/null \; patch-metamail source-tree-root %{patchnumber}; needsterminal
  62.  
  63. # The following is for support of MacMIME, especially those
  64. # the Columbia AppleTalk package (CAP) installed.
  65. # For more info about MacMIME, send email to paf@nada.kth.se
  66. #
  67. # If you don't have CAP, and haven't changed rcvAppleSingle
  68. # or sndAppleSingle, you should comment out this line.
  69. application/applefile; rcvAppleSingle %s; compose="sndAppleSingle %s";description="An Apple Macintosh file in AppleSingle format"
  70.  
  71. #
  72. # imgview currently can view SGI, TIFF, JFIF/JPEG, and GIF formats.
  73. #
  74. image/x-rgb; imgview -nofork %s; compose=imgworks %s; \
  75.     description="SGI image"; \
  76.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  77. image/x-sgi-bw; imgview -nofork %s; compose=imgworks %s; \
  78.     description="SGI b/w image"; \
  79.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  80. image/x-sgi-rgba; imgview -nofork %s; compose=imgworks %s; \
  81.     description="SGI RGBA image"; \
  82.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  83. image/x-sgi-image; imgview -nofork %s; compose=imgworks %s; \
  84.     description="SGI image"; \
  85.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  86. image/x-bitmap; bitmap %s; description="X11 bitmap"; \
  87.     x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
  88. image/x-xpm1; olpixmap %s; description="OL pixmap"; \
  89.     x11-bitmap="/usr/lib/Zmail/bitmaps/bitmap.xbm"
  90. image/tiff; imgview -nofork %s; compose=imgworks %s; description="TIFF image"; \
  91.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  92. image/gif; imgview -nofork %s; compose=imgworks %s; description="GIF image"; \
  93.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  94. image/jpeg; imgview -nofork %s; compose=imgworks %s; description="JFIF image"; \
  95.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  96. image/jpg; imgview -nofork %s; compose=imgworks %s; description="JFIF image"; \
  97.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  98. image/x-photo-cd; imgview -nofork %s; compose=imgworks %s; \
  99.     description="Photo CD image"; \
  100.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  101. image/x-xwd; showpicture %s; \
  102.     description="An X11 window image dump in X-XWD format"
  103. image/*; imgview -nofork %s; compose=imgworks %s; description="basic image"; \
  104.     x11-bitmap="/usr/lib/Zmail/bitmaps/image.xbm"
  105.  
  106. x-music/x-midi;  soundplayer -nofork -nounique %s; \
  107.     description="Standard MIDI Music"; \
  108.     x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  109.  
  110. audio/x-aiff; soundplayer -nofork -nounique %s; compose=soundeditor %s;    \
  111.     description="AIFF Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  112. audio/x-aifc; soundplayer -nofork -nounique %s; compose=soundeditor %s;    \
  113.     description="AIFC Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  114. audio/x-next; soundplayer -nofork -nounique %s; compose=soundeditor %s;    \
  115.     description="NeXT Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  116. audio/x-wav; soundplayer -nofork -nounique %s; compose=soundeditor %s;    \
  117.     description="WAVE Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  118. audio/x-mpeg; soundplayer -nofork -nounique %s; \
  119.         description="MPEG Audio"; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  120. audio/x-pn-realaudio; raplayer %s; \
  121.     description="RealAudio "; x11-bitmap="/usr/lib/Zmail/bitmaps/sound.xbm"
  122. audio/basic; soundplayer -nofork -nounique %s;    \
  123.     description="Audio"
  124. audio/*; soundplayer -nofork -nounique %s
  125. #audio/basic; sfplay -inputraw mulaw channels 1 rate 8000 end %s; \
  126. #    description="Audio"
  127. #
  128. #
  129. # Movieplayer understands SGI, QuickTime, MPEG Video, and MPEG Systems
  130. #
  131. video/x-sgi-movie; movieplayer -v -nofork %s; compose=moviemaker %s; \
  132.     description="SGI Movie"; \
  133.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  134. video/mpeg; movieplayer -v -nofork %s; compose=moviemaker %s; \
  135.     description="MPEG Movie"; \
  136.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  137. video/x-mpeg; movieplayer -v -nofork %s; compose=moviemaker %s; \
  138.     description="MPEG Movie"; \
  139.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  140. video/x-mpeg-system; movieplayer -v -nofork %s; compose=moviemaker %s; \
  141.     description="MPEG Movie"; \
  142.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  143. video/quicktime; movieplayer -v -nofork %s; compose=moviemaker %s; \
  144.     description="QuickTime Movie"; \
  145.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  146. video/x-msvideo; movieplayer -v -nofork %s; compose=moviemaker %s; \
  147.     description="AVI Movie"; \
  148.     x11-bitmap="/usr/lib/Zmail/bitmaps/movie.xbm"
  149. #
  150. application/x-xdma; /usr/bin/X11/xnetview %s; \
  151.     description="StreamWorks Viewer"
  152. application/x-mbpw; /usr/mbase/bin/mbase_playerwrap %s; \
  153.     description="MediaBase client player wrapper"
  154. application/x-enterlicense; /usr/etc/enterlicense %s; \
  155.     description="Software Licensing document"
  156. application/x-install; /usr/sbin/SoftwareManager -a -F %s; \
  157.     description="SGI automatic software installation"
  158. application/x-showcase; showcase -f %s; \
  159.     compose=showcase %s; description="Showcase document"; \
  160.     x11-bitmap="/usr/lib/Zmail/bitmaps/showcase.xbm"
  161. application/x-framemaker; (/usr/frame/bin/fmclient -f %s); \
  162.     compose=(/usr/frame/bin/fmclient -f %s); \
  163.     description="FrameMaker document"; \
  164.     x11-bitmap="/usr/lib/Zmail/bitmaps/frame.xbm"
  165. application/x-wingz; Wingz %s; compose=Wingz %s; \
  166.     description="Wingz document"; \
  167.     x11-bitmap="/usr/lib/Zmail/bitmaps/wingz.xbm"
  168. application/x-SYLK; Wingz %s; compose=Wingz %s; \
  169.     description="Spreadsheet in SYLK format"; \
  170.     x11-bitmap="/usr/lib/Zmail/bitmaps/wingz.xbm"
  171. graphics/x-inventor; /usr/sbin/webspace -remote %s -URL %u ; \
  172.     description="Inventor file"; \
  173.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  174. application/x-inventor; /usr/sbin/webspace -remote %s -URL %u ; \
  175.     description="Inventor file"; \
  176.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  177. application/postscript; /usr/bin/X11/xpsview %s; \
  178.     description="PostScript Language";
  179. application/x-annotator; /usr/sbin/annotator -v -r %s; \
  180.     description="IRIS Annotator file"; compose=/usr/sbin/annotator %s; \
  181.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  182. application/x-tardist; /usr/sbin/SoftwareManager -a -f %s; description="SGI software distribution archive"
  183. application/pdf; acroread %s; description="Adobe Acrobat document"
  184. application/x-iconbook; /usr/sbin/iconbook; \
  185.     description="IconBook"; \
  186.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  187. application/x-inperson; /usr/lib/InPerson/inpview -wbfile %s; \
  188.     description="InPerson Whiteboard file"; \
  189.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  190. application/x-mailfolder; /usr/bin/X11/zmail -gui -folder %s; \
  191.     description="Zmail folder file"; compose=/usr/bin/X11/zmail -gui %s; \
  192.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  193. application/x-ppages; /usr/sbin/peoplepages; \
  194.     description="InPerson PeoplePages"; \
  195.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  196. application/x-dirview; /usr/sbin/dirview `cat %s`; \
  197.     description="desktopManager Directory View"; \
  198.     x11-bitmap="/usr/lib/Zmail/bitmaps/inventor.xbm"
  199. application/x-rapidapp; /usr/sbin/rapidapp %s; \
  200.     description="RapidApp file"
  201. application/x-form; /usr/local/bin/form %s; \
  202.     description="Form"
  203. application/x-wsNt; wsNt -URL %u -remote %s ; \
  204.     description="Surf N Tell data stream"
  205. application/x-csNt; wsNt -URL %u -remote %s ; \
  206.     description="Surf N Tell control"
  207. application/x-sdr; /usr/local/lib/netscape/sdr-launch %u %s ; \
  208.     description="Session Directory Tool Launcher"
  209. application/x-sgi-task; /usr/sysadm/bin/runtask %s; \
  210.     description="System Administration Task"
  211. application/x-sgi-catalog; /usr/sysadm/bin/runcatalog %s; \
  212.     description="System Administration Catalog"
  213. application/x-sgi-exec; /usr/sysadm/bin/runexec %s; \
  214.     description="System Administration Executable"
  215. application/x-sgi-glossary; /usr/sysadm/bin/glossary %s; \
  216.     description="System Administration Glossary"
  217. application/x-mds; /usr/mbase/sbin/streamplayer -file %s -play
  218. application/x-mds-helper; /usr/mbase/sbin/streamplayer -file %s -play
  219.  
  220. x-conference/x-cooltalk; /usr/local/lib/netscape/cooltalk/cooltalk %s
  221. application/x-dos_ms_word; cp %s /usr/tmp/12345.msw; \
  222.     /usr/lib/SoftWindows2/bin/SoftWindows2 -c 'win winword -f i:\\tmp\\12345.msw'; \
  223.     rm /usr/tmp/12345.msw; description="Microsoft Word";
  224. application/x-dos_ms_excel; cp %s /usr/tmp/12345.xls; \
  225.     /usr/lib/SoftWindows2/bin/SoftWindows2 -c 'win excel -f i:\\tmp\\12345.xls'; \
  226.     rm /usr/tmp/12345.xls; description="Microsoft Excel application data";
  227. application/x-dos_ms_powerpoint2; cp %s /usr/tmp/12345.ppt; \
  228.     /usr/lib/SoftWindows2/bin/SoftWindows2 -c 'win powerpnt -f i:\\tmp\\12345.ppt'; \
  229.     rm /usr/tmp/12345.ppt; description="Microsoft PowerPoint application data";
  230. application/x-dos_ms_msaccess; cp %s /usr/tmp/12345.adb; \
  231.     /usr/lib/SoftWindows2/bin/SoftWindows2 -c 'win msaccess -f i:\\tmp\\12345.adb'; \
  232.     rm /usr/tmp/12345.adb; description="Microsoft Access application data";
  233. application/x-dos_claris_fm; cp %s /usr/tmp/12345.cfm; \
  234.     /usr/lib/SoftWindows2/bin/SoftWindows2 -c 'win fmpro -f i:\\tmp\\12345.cfm'; \
  235.     rm /usr/tmp/12345.cfm; description="Microsoft Filemaker application data";
  236.  
  237.  
  238. x-world/x-vrml;  /usr/sbin/webspace -remote %s -URL %u ; \
  239.     description="VRML document"
  240.  
  241. default; cat %s; copiousoutput
  242. application/x-licensemgr; /usr/etc/LicenseManager %s; \
  243.     description="Software License Installation"
  244.  
  245.  
  246. # The following is for interoperability with Z-Mail version 3.0 and beyond.
  247. # To enable this compatibility, uncomment all of the following lines.
  248. #
  249. # For more info about Z-Mail, send email to info@z-code.com
  250. #
  251. application/x-zm-fax; zfax %s; description="Z-Fax document"; \
  252.     x11-bitmap="/usr/lib/Zmail/bitmaps/fax.xbm"
  253. application/x-jot; jot -f %s; compose=jot -f %s; description="Jot document"; \
  254.     x11-bitmap="/usr/lib/Zmail/bitmaps/jot.xbm"
  255.  
  256. # Old Z-mail format
  257. x-zm-multipart; sun-to-mime %s
  258.  
  259.